package com.heima.model.schedule.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * @TableName taskinfo
 */
@ApiModel(description = "")
@TableName(value ="taskinfo")
@Data
public class Taskinfo implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 任务id
     */
    @ApiModelProperty("任务id")
    @TableId(type = IdType.ID_WORKER)
    private Long taskId;

    /**
     * 执行时间
     */
    @ApiModelProperty("执行时间")
    private Date executeTime;

    /**
     * 优先级
     */
    @ApiModelProperty("优先级")
    private Integer priority;

    /**
     * 任务类型
     */
    @ApiModelProperty("任务类型")
    private Integer taskType;

    /**
     * 参数
     */
    @ApiModelProperty("参数")
    private byte[] parameters;
}